package com.mk.legoscans2.activities;

import android.os.Bundle;

import com.mk.legoscans2.LegoScans3Application;
import com.mk.legoscans2.R;
import com.mk.legoscans2.actionbar.ActionBarActivity;

public class BrowseByThemeActivity extends ActionBarActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.browse_by_theme);

		ScanListFragment fragment = (ScanListFragment)getSupportFragmentManager().findFragmentById(R.id.scans_fragment_container);
		if(fragment != null && fragment.isInLayout())
		{
			LegoScans3Application.TempScans = null;
			fragment.updateList();
		}
		
		setTitle(R.string.themes_title);
	}
}
